package com.hifar.test.unitstandardrelation.service;

import java.util.List;
import java.util.Map;

import com.hifar.test.standardbase.pojo.HfResStandard;
import com.hifar.test.unitstandardrelation.pojo.HfPrjUnitStandard;
import com.hifar.test.unitstandardrelation.pojo.HfPrjUnitStandardVo;
import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hifar.sys.BusiResponse;

/**
 * <p>
 * 项目-检测项目-标准 服务类
 * </p>
 *
 * @author wangkepeng
 * @since 2024-12-05 09:22:13
 */
public interface IHfPrjUnitStandardService extends IService<HfPrjUnitStandard> {

	BusiResponse exportExcel(Map<String, Object> pageInfo);

	BusiResponse importExcel(MultipartFile file) throws Exception;

	/**
	 * 查询项目下依据标准
	 *
	 * @param id
	 * @return
	 */
	List<HfResStandard> listUnitStandard(String id);


	Page<HfResStandard> pageHfResStandardVo(Page<HfResStandard> rowPage, QueryWrapper<HfResStandard> wrapper);

	Page<HfPrjUnitStandardVo> pageHfPrjUnitStandardVo(Page<HfPrjUnitStandardVo> rowPage, QueryWrapper<HfPrjUnitStandardVo> wrapper);

	List<HfPrjUnitStandardVo> listHfPrjUnitStandardVo(QueryWrapper<HfPrjUnitStandardVo> wrapper);

}
